package com.wkk.quartz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wkk.quartz.dto.QuartzShowDto;
import com.wkk.quartz.entity.QuartzJob;

import java.util.List;

/**
 * @author : WangKeKe
 * @date : 2020/8/18 10:11
 * Description : 持久层映射
 */


public interface QuartzMapper extends BaseMapper<QuartzJob> {

    /**
     * 获取所有的定时任务
     *
     * @return 定时任务列表
     */
    List<QuartzShowDto> queryList();
}
